package com.ruoyi.system.service.estate.emergency;

import java.util.List;
import java.util.Map;
import com.ruoyi.system.domain.estate.emergency.EmergencySupplies;

/**
 * 应急物资Service接口
 */
public interface IEmergencySuppliesService {
    /**
     * 查询应急物资列表
     * 
     * @param emergencySupplies 应急物资信息
     * @return 应急物资集合
     */
    public List<EmergencySupplies> selectEmergencySuppliesList(EmergencySupplies emergencySupplies);

    /**
     * 查询应急物资详细信息
     * 
     * @param suppliesId 应急物资ID
     * @return 应急物资信息
     */
    public EmergencySupplies selectEmergencySuppliesById(Long suppliesId);

    /**
     * 新增应急物资
     * 
     * @param emergencySupplies 应急物资信息
     * @return 结果
     */
    public int insertEmergencySupplies(EmergencySupplies emergencySupplies);

    /**
     * 修改应急物资
     * 
     * @param emergencySupplies 应急物资信息
     * @return 结果
     */
    public int updateEmergencySupplies(EmergencySupplies emergencySupplies);

    /**
     * 批量删除应急物资
     * 
     * @param suppliesIds 需要删除的应急物资ID
     * @return 结果
     */
    public int deleteEmergencySuppliesByIds(Long[] suppliesIds);

    /**
     * 删除应急物资信息
     * 
     * @param suppliesId 应急物资ID
     * @return 结果
     */
    public int deleteEmergencySuppliesById(Long suppliesId);
    
    /**
     * 获取应急物资统计数据
     * 
     * @return 统计数据
     */
    public Map<String, Object> selectEmergencySuppliesStatistics();
    
    /**
     * 获取应急物资类型统计
     * 
     * @return 类型统计数据
     */
    public List<Map<String, Object>> selectEmergencySuppliesTypeStatistics();
} 